﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JQ.SAAS.DTO.SysPermissions
{
    /// <summary>
    /// 权限信息
    /// </summary>
    public class PermissionDto
    {
        /// <summary>
        /// 权限名称
        /// </summary>
        public string Permission { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string pName { get; set; }

        /// <summary>
        /// 类型 0：资源  1： 操作
        /// </summary>
        public int pType { get; set; }

        /// <summary>
        /// 附属权限
        /// </summary>
        public List<PermissionDto> Childs { get; set; } = new List<PermissionDto>();
    }
}
